<style>
    div
    {
    position: relative;
    top: 40px;
    left: 100px;
    }
    h1
    {
    position: absolute;
    top: 40px;
    left: 50px;
    }
</style>
<div>
    <h2> Div Generic Element </h2>
    <h1> Generic Heading </h1>
</div>